package com.cyt.work.wb.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.sys.model.po.SysUser;
import com.cyt.sys.service.BaseService;
import com.cyt.work.wb.model.po.WbPjTarget;
import com.cyt.work.wb.model.vo.WbPjTargetVo;

import java.util.List;

/**
 * 评价指标-wbPjTargetService层接口类
 *
 * @author dingxu
 * @date 2019-12-25 9:32:19
 */
public interface WbPjTargetService extends BaseService<WbPjTarget> {

    /**
     * 查询对象集合
     *
     * @param wbPjTargetVo 对象
     * @return List 对象集合
     * @author dingxu
     * @date 2019-12-25 9:32:19
     */
    List<WbPjTarget> listExample(WbPjTargetVo wbPjTargetVo);

    /**
     * 分页查询
     *
     * @param wbPjTargetVo 接受参数对象
     * @param pageNum          分页数
     * @param pageSize         每页显示条数
     * @return ReturnResult
     * @author dingxu
     * @date 2019-12-25 9:32:19
     */
    ReturnResult page(WbPjTargetVo wbPjTargetVo, int pageNum, int pageSize);

    /**
     * 添加或更新
     *
     * @param wbPjTargetVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author dingxu
     * @date 2019-12-25 9:32:19
     */
    ReturnResult addOrUpdate(WbPjTargetVo wbPjTargetVo, SysUser sysUser);

    /**
     * 根据条件逻辑删除
     *
     * @param wbPjTargetVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author dingxu
     * @date 2019-12-25 9:32:19
     */
    ReturnResult remove(WbPjTargetVo wbPjTargetVo, SysUser sysUser);

    /**
     * 根据条件物理删除
     *
     * @param wbPjTargetVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author dingxu
     * @date 2019-12-25 9:32:19
     */
    ReturnResult delete(WbPjTargetVo wbPjTargetVo, SysUser sysUser);
}